<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>	
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>流浪猫狗救助系统</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/style.css" />
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/public.css" />
    <style>
        .list{
            display: flex;
        }
        body{
            background-color: #fff !important;
        }
        /*公共样式，头部*/
        .publicHeader{
            height: 48px;
            line-height: 48px;
            font-size: 14px;
            background: linear-gradient(to bottom,#60acf0,#64a5df,#62a0dd,#5994d6,#4f8ace,#4880ca);
            background:-webkit-linear-gradient(to bottom,#60acf0,#64a5df,#62a0dd,#5994d6,#4f8ace,#4880ca);
            background:-moz-linear-gradient(to bottom,#60acf0,#64a5df,#62a0dd,#5994d6,#4f8ace,#4880ca);
            background:-ms-linear-gradient(to bottom,#60acf0,#64a5df,#62a0dd,#5994d6,#4f8ace,#4880ca);
            display: flex;
            justify-content: space-around;
        }
        .list{
            margin: 0 auto;
            width: 80%;
        }
        .list li{
            margin-left: 10px;
            border-bottom: unset !important;
        }
        .list li a{
            color: white;
        }
    </style>
</head>
<body>
<!--头部-->
    <header class="publicHeader">
        <ul class="list">
            <li ><a href="${pageContext.request.contextPath }/user/login">登录</a></li>
            <li ><a href="${pageContext.request.contextPath }/user/register">注册</a></li>
            <li><a href="${pageContext.request.contextPath }/sys/pet/list">领养中心</a></li>

            <li><a href="${pageContext.request.contextPath }/sys/forum/list">论坛</a></li>
            <li><a href="${pageContext.request.contextPath }/sys/user/toUpdatePwd">修改密码</a></li>
            <li><a href="${pageContext.request.contextPath }/sys/apply/list">领养记录</a></li>
            <li><a href="${pageContext.request.contextPath }/sys/apply/list">放弃记录</a></li>
            <li><a href="${pageContext.request.contextPath }/user/logout">退出系统</a></li>

        </ul>

        <div style="margin-right: 40px"><a href="${pageContext.request.contextPath }/user/update"><img src="${pageContext.request.contextPath}/upload/${userSession.pic}"/></a></div>
    </header>

 <!--主体内容-->
 <section class="publicMian">

     <input type="hidden" id="path" name="path" value="${pageContext.request.contextPath }"/>
     <input type="hidden" id="referer" name="referer" value="<%=request.getHeader("Referer")%>"/>
